import { createApp } from "vue";
import ElementPlus from "element-plus";
import App from "./App.vue";
import router from "@/router";
import * as store from "@/store";
import "@/assets/css/index.scss";
import "element-plus/dist/index.css";
import zhCN from "element-plus/dist/locale/zh-cn.mjs"; // 引入中文
import * as Elicons from "@element-plus/icons-vue";


const app = createApp(App);
for (const name in Elicons) {
  app.component(name, Elicons[name]);
}

app
  .use(ElementPlus, { locale: zhCN })
  .use(store)
  .use(router)
  .mount("#app");
